package com.wxq.demo.controller;

import com.wxq.demo.service.SenderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class SenderController {
    @Autowired
    private SenderService senderService;

    @RequestMapping("sender")
    public void sender() {
        senderService.send1();
        senderService.send2();
    }
}
